<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>案件修饰符</title>
    <script src="./js/vue.js"></script>
</head>
<body>
<div id="app">
    {{msg}}
    <input type="text" v-model="msg" @keyup.enter="keyups">
</div>
</body>
</html>
<script>
new Vue({
    el:"#app",
    data:{
        msg:''
    },
    methods:{
        keyups(){
            console.log(this.msg)
        }
    }
})
</script>
